extends layout

block content
  div.container
    h1= title
    p Welcome to #{title}

    // messages
    div#alert.alert.alert-danger this is an error message

    div.alert.alert-success
        | this is a success message
        | this is a success message
        | this is a success message
        | this is a success message

    a.btn.btn-primary(href="http://www.baidu.com", target="_blank", title="百度") baidu.com
    
    // condition

    //- 这个页面上是没有的注释
    - var name = 'nodeblog'
    if name === 'nodeblog'
      p name is nodeblog
    else
      p name is not nodeblog

    - var list = ['cmm','kv','kj','mm','bb'];
    ul
      each value in list
        li=value


block kv
  div.kv 这是柯文block

block scripts
  script
    $(function(){console.log(888);})
